<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page
	import="java.util.List,java.util.Map,java.util.LinkedHashMap,java.util.Iterator"%>
<%@ page import="com.xyrj.utils.HHString,com.xyrj.html.HHHtml"%>
<%@ page import="system.config.HHConfig"%>
<!-- 导入后台头部页面-->
<jsp:include page="../common/header.jsp" />

<!-- 导入不支持Javascript提示 -->
<jsp:include page="../common/noscript.html" />

<!-- 导入后台logo页面 -->
<jsp:include page="../common/section.jsp" />

<!-- 导入控制面板 -->
<jsp:include page="../common/sidebar.jsp" />
<section id="main" class="colum">
	<article class="module width_full">
		<header>
			<h3>添加新闻类型</h3>
		</header>
		<div class="module_content">
			<form
				action="<%=HHConfig.SITE_URL%>/index.jsp/admin/newstype/<%=request.getAttribute("nextAction")%>"
				method="post" enctype="multipart/form-data">
				<fieldset>
					<!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
					<%
						Map record = (Map) request.getAttribute("record");
					%>
					<input type="hidden"
						value="<%=HHString.objToString(record.get("newstype_id"))%>"
						name="newstype_id" />
					<div class="left-info">
						<p>
							<label>类型名称：</label> <input class="text-input small-input"
								type="text" id="newstype_name_id" name="newstype_name"
								value="<%=HHString.objToString(record.get("newstype_name"))%>" />
							<br /> <small>新闻类型名称，字符范围：3~50个字符。</small>
						</p>
						<jsp:include page="../fields/sort_num.jsp" flush="true" />
						<jsp:include page="../fields/parent_id.jsp" flush="true" />
						<jsp:include page="../fields/seo_keywords.jsp" flush="true" />
						<jsp:include page="../fields/seo_desc.jsp" flush="true" />
						<jsp:include page="../fields/top_flag.jsp" flush="true" />
					</div>
					<div class="right-info">
						<div class="clear"></div>
						<jsp:include page="../fields/total_visits.jsp" flush="true" />
						<jsp:include page="../fields/edit_time.jsp" flush="true" />
						<jsp:include page="../fields/create_time.jsp" flush="true" />
						<jsp:include page="../fields/author.jsp" flush="true" />
					</div>
						<jsp:include page="../common/info_op_area.jsp" flush="true" />
					<div class="clear"></div>
					<jsp:include page="../fields/description_editor.jsp" flush="true" />
				</fieldset>
				<div class="clear"></div>
				<!-- End .clear -->
			</form>
		</div>
	</article>
	<!-- End .content-box -->
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/uploader/uploadify/jquery.uploadify.min.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/render/lightbox/jquery.lightbox-0.5.min.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhbindrender.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/common/js/hhjslib.hhautomask.js"></script>
	<script type="text/javascript"
		src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH%>/admin/js/usertype_info.js"></script>
	<div class="clear"></div>
	<div class="spacer"></div>
</section>
<!-- end of section -->
</body>
</html>